#define _CRT_SECURE_NO_WARNINGS 1
#include"SeqList.h"
void TestFunc()
{
	SeqList sl;
	SeqListInit(&sl);
	SeqListPushBack(&sl, 1);
	SeqListPushBack(&sl, 2);
	SeqListPushBack(&sl, 3);
	SeqListPushBack(&sl, 4);
	SeqListPushBack(&sl, 5);
	SeqListPrint(&sl);

	SeqListPushFront(&sl, 0);
	SeqListPushFront(&sl, 9);
	SeqListPushFront(&sl, 8);
	SeqListPrint(&sl);

	SeqListPopBack(&sl);
	SeqListPopBack(&sl);
	SeqListPrint(&sl);
	int pos=SeqListFind(&sl,9);
	//printf("%d\n", pos);
	SeqListInsert(&sl, pos, 12);
	SeqListPrint(&sl);
	SeqListErase(&sl, pos+1);
	SeqListPrint(&sl);
	/*SeqListPopFront(&sl);
	SeqListPrint(&sl);*/

}
int main()
{
	TestFunc();
	return 0;
}